Exercise

Stories enable common sense reasoning.

2019-07-01_12h18_39.png

Now how we imagine things from background knowledge and connected the 2 sentences with a narrative so it still made sense to us.

Story understanding for AI agents

AI agents may also undergo such situations, where 2 sentences are seemingly unrelated, and they are expected to make sense.

Visiting a Coffee house

When Ashok asks David what he would do going to a coffee house, David was able to answer a series of expected events

Scripts

A causally coherent set of events

Parts of a Script

2019-07-01_12h30_15.png

  • Customer is hungry and he has some money, etc.
  • Customer less money, owner more money, customer not happy etc
  • propts: Tables, chairs
  • Roles: Owner, customer, etc
  • Track: Coffee house, dining house, etc
  • Scene: Entering restaurant, ordering food, etc.

Script is a big molecule of knowledge representations.

Constructing a Script

2019-07-01_12h33_46.png

2019-07-01_12h40_49.png

2019-07-01_12h35_26.png

Form vs Content

Above one is like a class. We can instantiate it.

2019-07-01_12h39_41.png

Using a script to generate Expectations

2019-07-01_12h44_40.png

Scripts also allow to make sense of world, but also what to expect and what not to expect?

What to do when expectations not met? Theory of surprise?

2 sides of surprise

  • Things do not happen the way we expected to happen
  • Things happen the way we did not expect to happen

Imagine horror movie.

Tracks

2019-07-01_12h48_38.png

This is also a classification problem. Script is giving to robot a plan in compiled form so faster execution. Raw planning could have taken lot of time.

Exercise

2019-07-01_12h55_01.png

2019-07-01_12h58_19.png

All choices are also applicable though debatable.

Cognitive Connection

  • Brain is a prediction machine
  • We generate expectations and act on them
  • When scripts fail, different emotions: funny, surprise, anger, etc
  • Need not b physical, but also conceptual - economy, how computer works etc.